<template>
  <el-config-provider :locale="zhCn" :message="config">
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup>
import { ref, reactive, getCurrentInstance, nextTick, watch } from "vue";
import { useRoute, useRouter } from "vue-router";
const { proxy } = getCurrentInstance();
const route = useRoute();
const router = useRouter();

import zhCn from "element-plus/dist/locale/zh-cn.mjs";

const config = ref({
  max: 1, // 最多同时显示一个Message提示信息
});
</script>

<style lang="scss" scoped>
</style>
